
package com.zkmonitor.controller;

import com.zkmonitor.common.LoginRequired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;



@Controller
@LoginRequired
@RequestMapping({"/clusters", "/"})
public class ClusterController {

    /**
     * Lists clusters of the root path.
     *
     * @return
     */
    @RequestMapping(value = "", method = RequestMethod.GET)
    public String list() {
        return "/cluster/list";
    }
}
